#include "MainWindow.h"
#include <QtGui/QApplication>
#include <QtPlugin>
#include <QTextCodec>
#include <QFile>
#include <QDomDocument>

int main(int argc, char *argv[])
{

    QApplication app(argc, argv);
    QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8"));
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf8"));
    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("utf8"));

    QApplication::setQuitOnLastWindowClosed(false);
    MainWindow w;
    w.show();
    return app.exec();
}
